<!DOCTYPE html>
<!-- saved from url=(0189)http://techbrood.com/threejs/docs/#%E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C/%E5%B8%B8%E9%87%8F(Constants)/%E8%87%AA%E5%AE%9A%E4%B9%89%E6%B7%B7%E5%90%88%E6%96%B9%E7%A8%8B(CustomBlendingEquation) -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		
		<title>Three.js - 在线中文文档 - %E5%8F%82%E8%80%83%E6%89%8B%E5%86%8C - %E8%87%AA%E5%AE%9A%E4%B9%89%E6%B7%B7%E5%90%88%E6%96%B9%E7%A8%8B(CustomBlendingEquation)</title>
		<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="shortcut icon" href="http://techbrood.com/favicon.ico" type="image/x-icon">
        <meta name="title" content="Three.js在线中文文档">
        <meta name="description" content="由踏得网翻译和编辑的Three.js在线中文文档和大量在线实例。Three.js是领先的WebGL开发JS库。">
        <meta name="keywords" content="Three.js,WebGL,HTML5动画,3D模型,虚拟实现,中文文档,参考手册,使用指南,大量实例">
        <link rel="stylesheet" href="./常量-自定义混合方程_files/main.css">        
        <script src="./常量-自定义混合方程_files/hm.js.下载"></script><script> var _hmt = _hmt || []; (function() {   var hm = document.createElement("script");   hm.src = "//hm.baidu.com/hm.js?4f400fdc5cae9fe497220375f04bc52e";   var s = document.getElementsByTagName("script")[0];    s.parentNode.insertBefore(hm, s); })(); </script>
	</head>
	<body>

		<div id="panel" class="collapsed">
			<h1><a href="http://techbrood.com/threejs/docs">Three.js</a> 中文教程</h1>
			<a id="expandButton" href="http://techbrood.com/threejs/docs/#">
				<span></span>
				<span></span>
				<span></span>
			</a>
			<div class="filterBlock">
				<input type="text" id="filterInput" placeholder="过滤">
				<a href="http://techbrood.com/threejs/docs/#" id="clearFilterButton">x</a>
			</div>
			
		<div id="content"><h2>使用指南</h2><div><h3>入门介绍</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">创建一个场景(Scene)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">矩阵变换(Matrix transformations)</a></li></ul></div><h2>参考手册</h2><div><h3>常量(Constants)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">自定义混合方程(CustomBlendingEquation)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">GL状态(GLState)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">材料(Materials)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">阴影类型(ShadowingTypes)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">纹理(Textures)</a></li></ul></div><div><h3>相机(Cameras)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">相机(Camera)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">立方体相机(CubeCamera)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">正交相机(OrthographicCamera)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">远景相机(PerspectiveCamera)</a></li></ul></div><div><h3>核心模块(Core)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">缓存属性(BufferAttribute)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">缓存几何模型(BufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">时钟(Clock)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">事件分发器(EventDispatcher)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">三角面(Face3)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">几何模型(Geometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">3D对象(Object3D)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">光线投射器(Raycaster)</a></li></ul></div><div><h3>光照(Lights)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">环境光(AmbientLight)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">平行光(DirectionalLight)</a></li><li><a href="http://techbrood.com/threejs/docs/#">平行光阴影(DirectionalLightShadow)</a></li><li><a href="http://techbrood.com/threejs/docs/#">半球光源(HemisphereLight)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">光照(Light)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">光照阴影(LightShadow)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">点光源(PointLight)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">聚光光源(SpotLight)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">聚光阴影(SpotLightShadow)</a></li></ul></div><div><h3>加载器(Loaders)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">音频加载器(AudioLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">巴比伦加载器(BabylonLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">缓存几何模型加载器(BufferGeometryLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">缓存(Cache)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">Collada加载器(ColladaLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">GLTF加载器(glTFLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">图像加载器(ImageLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">JSON加载器(JSONLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">加载器(Loader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">加载管理器(LoadingManager)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">材料加载器(MaterialLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">MTL加载器(MTLLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">OBJ加载器(OBJLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">对象加载器(ObjectLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">PDB加载器(PDBLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">SVG加载器(SVGLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">纹理加载器(TextureLoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">TGA加载器(TGALoader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">XHR加载器(XHRLoader)</a></li></ul></div><div><h3>材料(Materials)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">基础线条材料(LineBasicMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">虚线材料(LineDashedMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">材料(Material)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">基础网孔材料(MeshBasicMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">深度网孔材料(MeshDepthMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">多种材料(MultiMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">兰伯特网孔材料(MeshLambertMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">法向量网孔材料(MeshNormalMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">Phong网孔材料(MeshPhongMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">标准网孔材料(MeshStandardMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">点材料(PointsMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">原始着色器材料(RawShaderMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">着色器材料(ShaderMaterial)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">精灵材料(SpriteMaterial)</a></li></ul></div><div><h3>数学工具库(Math)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">二维空间盒子(Box2)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">三维空间盒子(Box3)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">颜色(Color)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">欧拉角度(Euler)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">视椎体(Frustum)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">三维几何线段(Line3)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">数学函数(Math)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">三维矩阵(Matrix3)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">四维矩阵(Matrix4)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">平面(Plane)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">四元数(Quaternion)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">射线(Ray)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">球体(Sphere)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">样条(Spline)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">三角形(Triangle)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">二维向量(Vector2)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">三维向量(Vector3)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">四维向量(Vector4)</a></li></ul></div><div><h3>对象(Objects)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">骨骼(Bone)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">镜头光晕(LensFlare)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">线条(Line)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">线段(LineSegments)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">细致度(LOD)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">网孔(Mesh)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">点(Points)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">骨架(Skeleton)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">蒙皮网孔(SkinnedMesh)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">精灵平面(Sprite)</a></li></ul></div><div><h3>渲染器(Renderers)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">Canvas渲染器(CanvasRenderer)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">WebGL渲染器(WebGLRenderer)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">WebGL渲染器目标(WebGLRenderTarget)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">WebGL渲染器立方体目标(WebGLRenderTargetCube)</a></li></ul></div><div><h3>渲染器 / 着色器(Shaders)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">着色器块(ShaderChunk)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">着色器库(ShaderLib)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">Uniforms库(UniformsLib)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">Uniforms工具箱(UniformsUtils)</a></li></ul></div><div><h3>渲染器 / WebGL</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">WebGL程序(WebGLProgram)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">WebGL着色器(WebGLShader)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">WebGL状态(WebGLState)</a></li></ul></div><div><h3>渲染器 / WebGL / 插件(Plugins)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">镜头光晕插件(LensFlarePlugin)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">精灵插件(SpritePlugin)</a></li></ul></div><div><h3>场景(Scenes)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">线性雾(Fog)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">指数雾(FogExp2)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">场景(Scene)</a></li></ul></div><div><h3>纹理(Textures)</h3><ul><li><a href="http://techbrood.com/threejs/docs/#">压缩纹理(CompressedTexture)</a></li><li><a href="http://techbrood.com/threejs/docs/#">立方体纹理(CubeTexture)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">数据纹理(DataTexture)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">纹理(Texture)</a></li></ul></div><div><h3>动画(Animation)</h3><ul><li><a href="http://techbrood.com/threejs/docs/#">动画(Animation)</a></li><li><a href="http://techbrood.com/threejs/docs/#">动画处理器(AnimationHandler)</a></li><li><a href="http://techbrood.com/threejs/docs/#">关键帧动画(KeyFrameAnimation)</a></li></ul></div><div><h3>几何模型(Geometries)</h3><ul><li><a class="done" href="http://techbrood.com/threejs/docs/#">盒子缓存模型(BoxBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">盒子模型(BoxGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">圆形缓存模型(CircleBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">圆形模型(CircleGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">锥体缓存模型(ConeBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">锥体模型(ConeGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">圆柱体缓存模型(CylinderBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">圆柱体模型(CylinderGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">十二面体模型(DodecahedronGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">塑形模型(ExtrudeGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">二十面体模型(IcosahedronGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">车床模型缓冲(LatheBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">车床模型(LatheGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">八面体模型(OctahedronGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">参数化模型(ParametricGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">平面缓存模型(PlaneBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">平面模型(PlaneGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">多面体模型(PolyhedronGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">环状缓存模型(RingBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">环状模型(RingGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">单面多边形模型(ShapeGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">单面多边形缓存模型(SphereBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">球体模型(SphereGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">四面体模型(TetrahedronGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">文本模型(TextGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">圆环面缓存模型(TorusBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">圆环面模型(TorusGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">环面纽结缓存模型(TorusKnotBufferGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">环面纽结模型(TorusKnotGeometry)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">管道模型(TubeGeometry)</a></li></ul></div><div><h3>辅助对象(Helpers)</h3><ul><li><a href="http://techbrood.com/threejs/docs/#">箭头辅助(ArrowHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">轴辅助(AxisHelper)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">包围盒辅助(BoundingBoxHelper)</a></li><li><a class="done" href="http://techbrood.com/threejs/docs/#">盒辅助(BoxHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">相机辅助(CameraHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">平行光辅助(DirectionalLightHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">边缘辅助(EdgesHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">面法向量辅助(FaceNormalsHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">网格辅助(GridHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">半球光源辅助(HemisphereLightHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">点光源辅助(PointLightHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">聚光辅助(SpotLightHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">顶点法向量辅助(VertexNormalsHelper)</a></li><li><a href="http://techbrood.com/threejs/docs/#">线框辅助(WireframeHelper)</a></li></ul></div><div><h3>其它</h3><ul><li><a href="http://techbrood.com/threejs/docs/#">场景工具箱(SceneUtils)</a></li></ul></div><div><h3>其它 / 核心(Core)</h3><ul><li><a href="http://techbrood.com/threejs/docs/#">曲线(Curve)</a></li><li><a href="http://techbrood.com/threejs/docs/#">曲线路径(CurvePath)</a></li><li><a href="http://techbrood.com/threejs/docs/#">路径(Path)</a></li><li><a href="http://techbrood.com/threejs/docs/#">形状(Shape)</a></li></ul></div><div><h3>其它 / 曲线(Curves)</h3><ul><li><a href="http://techbrood.com/threejs/docs/#">圆弧曲线(ArcCurve)</a></li><li><a href="http://techbrood.com/threejs/docs/#">三维Catmull-Rom曲线(CatmullRomCurve3)</a></li><li><a href="http://techbrood.com/threejs/docs/#">三维闭合样条曲线(ClosedSplineCurve3)</a></li><li><a href="http://techbrood.com/threejs/docs/#">三次贝塞尔曲线(CubicBezierCurve)</a></li><li><a href="http://techbrood.com/threejs/docs/#">三维三次贝塞尔曲线(CubicBezierCurve3)</a></li><li><a href="http://techbrood.com/threejs/docs/#">椭圆曲线(EllipseCurve)</a></li><li><a href="http://techbrood.com/threejs/docs/#">线条曲线(LineCurve)</a></li><li><a href="http://techbrood.com/threejs/docs/#">三维线条曲线(LineCurve3)</a></li><li><a href="http://techbrood.com/threejs/docs/#">二次贝塞尔曲线(QuadraticBezierCurve)</a></li><li><a href="http://techbrood.com/threejs/docs/#">三维二次贝塞尔曲线(QuadraticBezierCurve3)</a></li><li><a href="http://techbrood.com/threejs/docs/#">样条曲线(SplineCurve)</a></li><li><a href="http://techbrood.com/threejs/docs/#">三维样条曲线(SplineCurve3)</a></li></ul></div><div><h3>其它 / 对象(Objects)</h3><ul><li><a href="http://techbrood.com/threejs/docs/#">即时渲染器对象(ImmediateRenderObject)</a></li><li><a href="http://techbrood.com/threejs/docs/#">变形混合网孔(MorphBlendMesh)</a></li></ul></div><div><h3>示例</h3><ul><li><a href="http://techbrood.com/threejs/docs/#">组合相机(CombinedCamera)</a></li><li><a href="http://techbrood.com/threejs/docs/#">查找表(LookupTable)</a></li><li><a href="http://techbrood.com/threejs/docs/#">精灵画布材料(SpriteCanvasMaterial)</a></li></ul></div></div></div>
		<iframe id="viewer" src="./常量-自定义混合方程_files/CustomBlendingEquations.html"></iframe>

		<script src="./常量-自定义混合方程_files/list.js.下载"></script>
		<script src="./常量-自定义混合方程_files/main.js.下载"></script>
		<script src="./常量-自定义混合方程_files/three.min.js.下载"></script>
	

</body></html>